package com.xiegang.apidriver.service;

import com.xiegang.apidriver.remote.ServiceDriverUserClient;
import com.xiegang.internalcommon.dto.DriverUser;
import com.xiegang.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xieGang
 * @description
 * @date 2023/3/29 16:00
 **/
@Service
public class UserService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult updateUser(DriverUser driverUser){

        return serviceDriverUserClient.updateUser(driverUser);
    }
}
